/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Modellayer;
import java.util.*;
/**
 *
 * @author Søren
 */
public class Invoice {

    int invoiceID;
    int invoiceNo;
    String paymentDate;
    String status;
	SalesOrder order;
    //ArrayList<SalesOrder> orderList;

    public Invoice (int invoiceNo, String paymentDate, String status, SalesOrder order)

    {
        this.invoiceNo = invoiceNo;
        this.paymentDate = paymentDate;
        this.status = status;
		this.order = order;
	//orderList = new ArrayList<SalesOrder>();
    }

    public Invoice()
    {
        //orderList = new ArrayList<SalesOrder>();
    }

    public int getInvoiceID()
    {
        return invoiceID;
    }
    
    public int getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(int invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getPaymentDate() {
        return paymentDate;
    }

    public void setPaymentDate(String paymentDate) {
        this.paymentDate = paymentDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

	public SalesOrder getOrder()
	{
		return order;
	}

	public void setOrder(SalesOrder order)
	{
		this.order = order;
	}

   // public ArrayList<SalesOrder> getOrderList()
    //{
	//return orderList;
    //}

   // public void addOrderList(SalesOrder order)
    //{
	//orderList.add(order);
   // }





}
